﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Collections;

namespace GPCSC.Web.SHFW
{
    public partial class SYS_TZt : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                F_bound();
              
            }
        }
        protected void F_bound()
        {
            string ids = Usual.f_querystringToString("id");
            
                    #region 收件人信息
            DataSet df = new CL_TZ_S().get_CL_TZUSER(ids);
            string ssf = "";
            if (df.Tables.Count > 0)
             {
                        if (df.Tables[0].Rows.Count > 0)
                        {
                           
                            foreach (DataRow drs in df.Tables[0].Rows)
                            {

                                if (drs["isread"].ToString() == "1")
                                {
                                    ssf += "<input type='checkbox' checked='checked' />" + drs["jsname"].ToString() + " ";
                                }
                                else
                                {
                                    ssf += "<input type='checkbox'  />" + drs["jsname"].ToString() + " ";
                                }
                            }
                      
                            //Div1.InnerHtml = ssf;
                            inn.InnerHtml = ssf;
                        }
                    }
                    #endregion
        
        }
    }
}